package com.lhhu.demo.mapper;

import com.lhhu.demo.bean.UserInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Auther 虎
 * @Data 2021/3/14 18:40
 * @Version 1.0
 */
@Repository
public interface UserMapper {
    int addOneUser(UserInfo userInfo);
    List<UserInfo> selectUserByOpenid(String openid);
    List<UserInfo> getAllUser();
    List<UserInfo> getUserByName(String nickName);
    List<UserInfo> getUserByGender(String gender);
    List<UserInfo> getUserByTag(String gender);
    int updateUserMessage(UserInfo userInfo);
    int deleteOneUser(String openid);
}
